img {
  max-width: 100%;

  a & {
    border: 0; // IE fix
  }

  &[data-srcset] {
    opacity: 0;
    transition: opacity 200ms linear;

    &.lazyloaded {
      opacity: 1;
    }
  }
}
